home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / tde40.zip / prompts.h < prev    next >
C/C++ Source or Header  |  1994-06-05  |  31KB  |  911 lines

  1. /*
  2.  * New editor name:  TDE, the Thomson-Davis Editor.
  3.  * Author:           Frank Davis
  4.  * Date:             June 5, 1992
  5.  *
  6.  * This file contains all user prompts in TDE.  Prompts were gathered into
  7.  *  one file to make the job of translating English into other languages
  8.  *  as easy as possible.
  9.  */
  10.  
  11.  
  12. char *cb      = "Control-Break pressed";
  13.  
  14.  
  15. /*
  16.  * block.c
  17.  */
  18. char *block1  = "a block is already defined in another file";
  19.  
  20. char *ltol    = "Error: line would be too long.";
  21. char *block2  = "can only fill box blocks";
  22. char *block3a = "can only number box blocks";
  23. char *block3b = "can only swap box blocks";
  24. char *block4  = "not enough memory for block";
  25. char *block5  = "can only overlay box blocks";
  26.  
  27. char *block6  = "File name: ";
  28. char *block7  = "File exists. Overwrite or Append? (o/a): ";
  29. char *block8  = "writing block to '";
  30. char *block9  = "could not write block";
  31. char *block10 = "appending block to '";
  32. char *block11 = "could not append block";
  33. char *block12 = "writing block to '";
  34.  
  35. char *block13 = "Print file or block? (f/b): ";
  36. char *block14 = "Printing line         of         Press Control-Break to cancel.";
  37.  
  38. char *block15 = "Enter character to fill block (ESC to exit): ";
  39.  
  40. char *block16 = "Enter starting number: ";
  41. char *block17 = "Enter increment: ";
  42. char *block18 = "Left or Right justify numbers in block (l/r)? ";
  43.  
  44. char *block20 = "can only expand tabs in line blocks";
  45. char *block26 = "can only expand tabs in line blocks";
  46.  
  47. char *block21 = "can only trim trailing space in line blocks";
  48.  
  49. char *block22a = "Phase 1) Quicksort";
  50. char *block22b = "Phase 2) Insertion sort";
  51. char *block23 = "Can only sort Box blocks";
  52. char *block24 = "Box block not marked";
  53.  
  54. char *block25 = "can only e-mail reply in line blocks";
  55.  
  56. /*
  57.  * config.c
  58.  */
  59. char *config1 = "Enter configuration file name, e.g. tde.cfg : ";
  60. char *config2 = "Out of room for two-keys.  line: ";
  61. char *config3 = "Unrecognized function.  line:  ";
  62. char *config4 = "Cannot assign a macro to two-keys.  line:  ";
  63. char *config5 = "Out of room for two-keys.  line:  ";
  64. char *config6 = "Color number out of range.  line:  ";
  65. char *config7 = "Off/On error.  line:  ";
  66. char *config8 = "Tab error.  line:  ";
  67. char *config9 = "Left margin error.  line:  ";
  68. char *config10 = "Paragraph margin error.  line:  ";
  69. char *config11 = "Right margin error.  line:  ";
  70. char *config12 = "CRLF or LF error. line:  ";
  71. char *config13 = "Word wrap error.  line:  ";
  72. char *config14 = "Cursor size error.  line: ";
  73. char *config15 = "Control Z error.  line:  ";
  74. char *config16 = "Date format error.  line:  ";
  75. char *config17 = "Time format error.  line:  ";
  76. char *config18 = "Initial Case Mode error.  line:  ";
  77. char *config19 = "Unknown mode.  line:  ";
  78. char *config20 = "Unrecognized editor setting.  line:  ";
  79. char *config21 = "Literal not recognized.  line:  ";
  80. char *config22 = "Unrecognized key.  line:  ";
  81. char *config23 = "No more room in macro buffer.  line:  ";
  82. char *config24 = "Error parsing color pair.  line:  ";
  83.  
  84.  
  85. /*
  86.  * console.c
  87.  */
  88. char *console1 = "Next Key..";
  89.  
  90.  
  91. /*
  92.  * critical error handler
  93.  */
  94. char *critt1  = "N/A";
  95.  
  96.  
  97. /*
  98.  * diff
  99.  */
  100. char *diff_prompt1 = "DIFF:  Enter first window number and letter (e.g. 1a) : ";
  101. char *diff_prompt2 = "DIFF:  Enter next window number and letter (e.g. 2a) : ";
  102. char *diff_prompt3 = "DIFF:  Start diff at (B)eginning of file or (C)urrent position? (b/c) ";
  103. char *diff_prompt4 = "DIFF:  Diffed until EOF(s).  No diff's were found.  Press a key.";
  104. char *diff_prompt5 = "DIFF windows not defined:  ";
  105. char *diff_prompt6a = "window '";
  106. char *diff_prompt6b = "' not visible or does not exist  ";
  107. char *diff_prompt7a = "DIFF:  Ignore leading spaces (y/n)?  ";
  108. char *diff_prompt7b = "DIFF:  Ignore all space (y/n)?  ";
  109. char *diff_prompt7c = "DIFF:  Ignore blank lines (y/n)?  ";
  110. char *diff_prompt7d = "DIFF:  Ignore end of line (useful with reformatted paragraphs) (y/n)?  ";
  111.  
  112. char *diff_message = "diffing...";
  113. char *diff_blank   = "          ";
  114.  
  115.  
  116. /*
  117.  * dir list
  118.  */
  119. #if defined( __UNIX__ )
  120. char *dir1 = "Directory name : ";
  121. #else
  122. char *dir1 = "Search path or pattern : ";
  123. #endif
  124. char *dir2 = "Invalid path or file name";
  125. char *stardotstar = "*.*";
  126. char *dir3 = "Out of memory";
  127.  
  128. char *dir4 = "Selected file : ";
  129. char *dir5 = "    File size : ";
  130. char *dir6 = "File count : ";
  131.  
  132. char *dir7 = "Cursor keys move.   Enter selects file or new directory";
  133.  
  134. char *dir8 = "Permission denied.  Cannot list directory ";
  135.  
  136. /*
  137.  * ed.c
  138.  */
  139. char *ed1  = "line too long to add";
  140. char *ed2  = "cannot insert more characters";
  141. char *ed3  = "no more room to add";
  142.  
  143. char *ed4  = "cannot combine lines";
  144.  
  145. char *ed5  = "cannot duplicate line";
  146.  
  147. char *ed7a = "Logical tab interval: ";
  148. char *ed7b = "Physical (file) tab interval: ";
  149. char *ed8  = "tab size too long";
  150.  
  151. char *ed9  = "Enter new left margin (must be less than right margin) : ";
  152. char *ed10 = "Left margin out of range.";
  153.  
  154. char *ed11a = "Justify right margin?  (y/n): ";
  155. char *ed11 = "Enter new right margin (must be greater than left margin) : ";
  156. char *ed12 = "Right margin out of range.";
  157.  
  158. char *ed13 = "Enter paragraph margin (must be less than right margin) : ";
  159. char *ed14 = "Paragraph margin out of range.";
  160.  
  161. char *ed15 = "File name to edit : ";
  162.  
  163. char *ed16 = "Macro execution halted:  Internal stack overflow.";
  164. char *ed17 = "Macro execution halted:  Internal stack underflow.";
  165.  
  166. char *ed18 = "Open file in BINARY mode (y/n)? ";
  167.  
  168. char *paused1 = "Paused:";
  169. char *paused2 = "  Press ESC to halt macro   ";
  170.  
  171. /*
  172.  * findrep.c
  173.  */
  174. char *find1  = "Options:  (P)rompt before replace   (N)o prompt (p/n): ";
  175. char *find2  = "(R)eplace  (S)kip  (E)xit  (r/s/e)";
  176. char *find3  = "Search has wrapped.  (C)ontinue or (Q)uit? (c/q): ";
  177.  
  178. char *find4  = "String to find: ";
  179. char *find5a = "string \"";
  180. char *find5b = "\" not found ";
  181. char *find6  = "find pattern not defined";
  182.  
  183.  
  184. char *find7[] = { "          ",
  185.                   "wrapped...",
  186.                   "searching ",
  187.                   "replacing ",
  188.                   "nfa choked"  };
  189.  
  190.  
  191. char *find8  = "string not found";
  192. char *find9  = "String to find: ";
  193. char *find10 = "Replacement:    ";
  194.  
  195. char *find11 = "Line number: ";
  196. char *find12 = "must be in the range 1 - ";
  197.  
  198.  
  199. /*
  200.  * hwind.c
  201.  */
  202. char *smart   = "S";
  203. char *fixed   = "F";
  204. char *intab   = "I";
  205. char *outtab  = "D";
  206. char *tabs    = "Tabs=";
  207.  
  208. char *indent  = "Indent";
  209. char *blank   = "      ";
  210.  
  211. char *ignore = "Ignore";
  212. char *match  = "Match ";
  213.  
  214. char *sync_off = "    ";
  215. char *sync_on  = "Sync";
  216.  
  217. char *ww_mode[]  = { "  ",
  218.                      "FW",
  219.                      "DW" };
  220.  
  221. char *eol_mode[] = { "Native",
  222.                      "CRLF  ",
  223.                      "LF    ",
  224.                      "Binary" };
  225.  
  226.  
  227. /*
  228.  * Incidentally, these need to be 4 characters wide.  The previous file mode
  229.  * should leave no residue in the lite bar, when toggling thru the modes.
  230.  */
  231. char *mode_lf   = "lf  ";
  232. char *mode_crlf = "crlf";
  233. char *mode_bin  = "BIN ";
  234.  
  235.  
  236.  
  237. /*
  238.  * main.c
  239.  */
  240. char *main1   = "Fatal error: ";
  241. char *main2   = "Warning: ";
  242. char *main3   = ": press a key";
  243.  
  244. char *main4   = "out of memory";
  245.  
  246. char *main5   = "negative move - contact Frank Davis";
  247.  
  248. char *main6   = "File is write protected.  Overwrite anyway? (y/n): ";
  249.  
  250. char *main7a  = "File '";
  251. char *main7b  = "'not found or error loading file";
  252.  
  253. char *main8a  = "file '";
  254. char *main8b  = "'too big.  FILE WILL BE TRUNCATED IF SAVED!";
  255.  
  256. char *main9   = "error reading file '";
  257.  
  258. char *main9a = "FRANK: error reading file!";    /* devas neniam okazi? */
  259.  
  260. char *file_win_mem = "F=   W=    m=";
  261.  
  262. char *main10a = "file '";
  263. char *main10b = "'too big";
  264.  
  265. char *main11  = "Press the key that will play back this recording : ";
  266. char *main12  = "Cannot assign a recording to this key";
  267. char *main13  = "No more room in recording buffer";
  268. char *main14  = "Overwrite recording assigned to this key? (y/n) : ";
  269.  
  270. char *main15  = "Recording";
  271.  
  272. char *main18  = "  Avail strokes = ";
  273.  
  274. char *main19  = "Name for macro file name: ";
  275. ch